package com.fate.system.dto.wx;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class LoginWxDTO {
  @Schema(description = "openId")
  @NotBlank(message = "openId不能为空")
  private String openId;

  @Schema(description = "mac")
  @NotBlank(message = "mac不能为空")
  private String mac;

  @Schema(description = "timeStamp")
  @NotNull(message = "timeStamp不能为空")
  private Timestamp timestamp;
}
